package com.c1.client.dialog.r.button;

import com.c1.client.dialog.BaseButton;
import com.c1.client.dialog.r.RDialog;

public class RCancelButton extends BaseButton {
    private static final String CANCEL_TEXT = "关闭(ALT+C)";

    @Override
    public String getText() {
        return CANCEL_TEXT;
    }

    @Override
    public void process() {
        RDialog.me().setVisible(false);
    }
}
